# coding=utf-8
# 用于删除sqlite中某个table的全部数据
# 仅用于测试
import sqlite3

from rs_label.util.parameter import Para
configFileName = "/usr/data/remote_sensing/crowdsourcing_label/tmp/para.config"
para = Para(configFileName)
with sqlite3.connect(para.db_name) as conn:
    # rs_name = "GF2_shanghai"
    conn.execute("delete from pano_images")
    conn.commit()
